package com.hongyue.zuoTi7;

import java.util.Arrays;
import java.util.Scanner;
//张三    .  20 .   男  .
public class Demo {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入学员信息");
        String a = sc.nextLine();
        a = a.replace(".", " ");
        String[] s = a.split(" ");
        System.out.println(Arrays.toString(s));
        for (int i = 0; i < s.length; i++) {
            if (s[i].equals("")) {

            } else {

            }
        }
    }
}
